﻿namespace NRank.Algorithms.Strategies
{
	/// <summary>
	/// Round-robin pulling strategy. When this strategy is used, algorithm will alternate using given inputs.
	/// </summary>
	internal class AlternatingPullingStrategy : IPullingStrategy
	{
		/// <summary>
		/// Decides if algorithm should pull item from left input when it can.
		/// </summary>
		public bool CanPullLeft
		{
			get { return true; }
		}

		/// <summary>
		/// Decides if algorithm should pull item from right input when it can.
		/// </summary>
		public bool CanPullRight
		{
			get { return true; }
		}
	}
}